#include <string>

#include <iostream>

#include "player.h"

#include "board.h"

using namespace std;

/************************************************************************/


Player::Player(string pName, int pTurn)
{
	name=pName;

	turn=pTurn;
}

/************************************************************************/


string Player::GetName()
{
	return name;
}

/************************************************************************/


int Player::GetTurn()
{
	return turn;
}

/************************************************************************/

int Player::GetColChoice()
{
	int choice=0;

	do
	{
		if(colChoice<1||colChoice>7)

			cout << " Please enter a number, 1-7" << endl;

			cout << " Which column would you like to drop your piece in?:  ";

			cin >> choice;

			cout << endl;

			colChoice=choice;


	}while(colChoice<1||colChoice>7);


	return colChoice;
}
